package objects;

public class Exam extends Task {

	private String room;
	private int hours;
	private String type;
	private boolean oral;

	public Exam(String name, String desc, boolean done, int grades,
			String moreInfo, String room, int hours, String type, boolean oral) {

		super(name, desc, done, grades, moreInfo);
		this.room = room;
		this.hours = hours;
		this.type = type;
		this.oral = oral;
	}

	public String getRoom() {
		return this.room;
	}

	public String getHours() {
		String temp = "" + this.hours;
		return temp;
	}

	public String getType() {
		return type;
	}

	public String getOral() {
		if (this.oral) {
			return "T";
		} else {
			return "F";
		}
	}

}
